package com.bwda.dsrs.filecenter.domain.form.filedir;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
/**
 * @description:文件虚拟目录，新增form
 * @author: yangjun
 * @create: 2019-04-28 11:15
 */
@Data
@ApiModel(description = "文件虚拟目录")
public class FileDirCreateForm {

	@ApiModelProperty(value = "目录名，文件名")
	@NotNull(message = "缺少文件名")
	private String dirName;

	@ApiModelProperty(value = "父ID，0为跟目录")
	@NotNull(message = "缺少上级目录id")
	private Integer parentId;

}